.alert-message {
    min-width: 300px;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -webkit-transition: top .4s, opacity .3s, transform .4s;
    transition: top .4s, opacity .3s, transform .4s;
}

.alert-message-fade-out,
.alert-message-fade-in {
    opacity: 0;
    transform: translate(-50%, -100%);
}
